package com.changgou.seckill.service;

import com.changgou.core.service.CoreService;
import com.changgou.seckill.pojo.SeckillOrder;
import com.changgou.seckill.pojo.SeckillStatus;

import java.util.Map;

/**
 * @author liyipeng
 * @date 2021-06-26 17:00
 */
public interface SeckillOrderService extends CoreService<SeckillOrder> {

    Boolean add(Long id, String time, String username);
    /***
     * 抢单状态查询
     * @param username
     */
    SeckillStatus queryStatus(String username);

}
